<?php
// +----------------------------------------------------------------------
// | 前台入口地址
// +----------------------------------------------------------------------
// | @link
// +----------------------------------------------------------------------
// | @copyright
// +----------------------------------------------------------------------
// | @licensed ( http://www.apache.org/licenses/LICENSE-2.0 )
// +----------------------------------------------------------------------
// | @author Haijun Wu <nicholasinlove@126.com>
// +----------------------------------------------------------------------
// | $Id: index.php 104 2011-04-29 03:45:27Z nicholasinlove1986@gmail.com $
// +----------------------------------------------------------------------


define('IN_BLOG', true);
//加载公共文件
require('./Includes/init.php');
//定义ThinkPHP框架路径
define('THINK_PATH', './ThinkPHP');
//定义项目名称和路径
define('APP_NAME', 'Blog');
define('APP_PATH', './Blog');
//部署的时候启用
//define('RUNTIME_ALLINONE',true);
//加载框架入口文件
require(THINK_PATH."/ThinkPHP.php");
//实例化一个网站应用实例
App::run();
?>